<template>
  <el-tabs type="border-card">
    <el-tab-pane :label="p.load_name" v-for="(p, index) of creditGoods" :key="index">
      <credit-goods-list :industrial-package="p"></credit-goods-list>
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import CreditGoodsList from '@/gov/views/program/CreditGoodsList'
import { mapGetters } from 'vuex'

export default {
  components: {
    CreditGoodsList,
  },
  props: {},
  data() {
    return {}
  },

  computed: {
    ...mapGetters(['creditGoods']),
  },

  created() {
    this.$store.dispatch('getCreditGoods')
  },
  methods: {},
}
</script>
<style lang="scss" scoped></style>
